package com.content.Service.drama;

import com.content.Entity.drama.BookMake;
import com.content.Entity.drama.Drama;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DramaService {
    PageInfo<Drama> getDramaList(Integer pageNum, Integer pageSize, String dramaName);

    void addDrama(Drama drama);

    void updateDrama(Drama drama);

    void deleteDrama(String dramaId);

    Drama getDrama(String dramaId);

    List<BookMake> getBookMakes(String userId);

    void addBookMake(BookMake bookMake);

    void deleteBookMake(BookMake bookMake);

    PageInfo<BookMake> getFavorites(Integer pageNum, Integer pageSize, String sortType, String userId);

    PageInfo<Drama> getDramaListByThree(Integer pageNum, Integer pageSize, String dramaName, String username);
}
